def make_bricks(small, big, goal):
  if goal//5<=big+small and goal%5<=small and small+big*5>=goal:
    return True
  else:
    return False
